/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kallsonys.service;

import java.util.Date;
import java.util.List;

/**
 *
 * @author allan
 */
public class Order 
{
    private long id;
    private long customerId;
    private long creditCardId;
    private long price;
    private int  source;
    private String comments;
    private int status;
    private long addressId;
    private int shippingCompany;
    private Date estimatedDelivery;
    private List<OrderItem> items;

    public Date getEstimatedDelivery() {
        return estimatedDelivery;
    }

    public void setEstimatedDelivery(Date estimatedDelivery) {
        this.estimatedDelivery = estimatedDelivery;
    }

    public int getShippingCompany() {
        return shippingCompany;
    }

    public void setShippingCompany(int shippingCompany) {
        this.shippingCompany = shippingCompany;
    }

    public long getAddressId() {
        return addressId;
    }

    public void setAddressId(long addressId) {
        this.addressId = addressId;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public long getCreditCardId() {
        return creditCardId;
    }

    public void setCreditCardId(long creditCardId) {
        this.creditCardId = creditCardId;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public List<OrderItem> getItems() {
        return items;
    }

    public void setItems(List<OrderItem> items) {
        this.items = items;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}

